package com.chinasoft.goodsManager.daomaingoodslist;

public class Goods {
    private Integer id;
    private  String gimg;
    private  String gname;
    private Double gpprice;
    private  Double gprice;
    private  Integer gnum;
    private  String gdescrike;

    public Goods(Integer id, String gimg, String gname, Double gpprice, Double gprice, Integer gnum, String gdescrike) {
        this.id = id;
        this.gimg = gimg;
        this.gname = gname;
        this.gpprice = gpprice;
        this.gprice = gprice;
        this.gnum = gnum;
        this.gdescrike = gdescrike;
    }

    public Goods() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGimg() {
        return gimg;
    }

    public void setGimg(String gimg) {
        this.gimg = gimg;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public Double getGpprice() {
        return gpprice;
    }

    public void setGpprice(Double gpprice) {
        this.gpprice = gpprice;
    }

    public Double getGprice() {
        return gprice;
    }

    public void setGprice(Double gprice) {
        this.gprice = gprice;
    }

    public Integer getGnum() {
        return gnum;
    }

    public void setGnum(Integer gnum) {
        this.gnum = gnum;
    }

    public String getGdescrike() {
        return gdescrike;
    }

    public void setGdescrike(String gdescrike) {
        this.gdescrike = gdescrike;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", gimg='" + gimg + '\'' +
                ", gname='" + gname + '\'' +
                ", gpprice=" + gpprice +
                ", gprice=" + gprice +
                ", gnum=" + gnum +
                ", gdescrike='" + gdescrike + '\'' +
                '}';
    }
}
